package net.huashitong.scheduling.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.sirdc.modules.core.dao.GenericQuery;
import com.sirdc.modules.core.dao.StringDao;

import net.huashitong.scheduling.entity.Accounting;
@Repository
public class AccountingDao extends StringDao<Accounting>{
	public List<Accounting> queryAccountingByCurrentMonth(String currentMonth){
		GenericQuery query = createQuery("obj");
		query.append(" and currentMonth = :currentMonth").setParam("currentMonth",currentMonth);
		return query.listResult();
	}
}
